package com.owen.dao;

import com.owen.pojo.Dictionary;

import java.util.List;

public interface DictionaryDao {

    public List<Dictionary> findAll();

    public List<Dictionary> findByDictionary(Dictionary dictionary);

    public Dictionary findById(Integer id);

    public Integer deleteById(Integer id);

    public Integer deleteBatch(Integer [] ids);

    public Integer save(Dictionary dictionary);

    public Integer update(Dictionary dictionary);

}
